<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class BaseModel extends Model
{
    use HasFactory;

    // 自动时间戳
    public $timestamps = true;

    // 时间戳格式
    protected $dateFormat = 'U';
}
